﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ProgNetComponentsDx.Data
{
    public abstract class SelectDataManagerCreator
    {
        public abstract ProgNetComponents.Data.DataManager CreateManager();
    }

    public class SqlCeSelectDataManagerCreator : SelectDataManagerCreator
    {
        public override ProgNetComponents.Data.DataManager CreateManager()
        {
            ProgNetComponents.Data.DataManager m =new ProgNetComponents.Data.SqlCe.SqlCeDataManager();
            m.UseGlobalConnectionString = true;
            return m;
        }
    }
}
